package com.cy.mall.model.ao.enter;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @Description 添加企业
 * @Author tanyilin
 * @Date 2019/3/20 14:03
 */
@Data
@ApiModel("添加企业")
public class EnterAddAO {

    @ApiModelProperty(value = "企业名称")
    @NotEmpty(message = "企业名称不可为空")
    private String enterName;

    @ApiModelProperty(value = "企业统一信用代码")
    @NotEmpty(message = "企业统一信用代码不可为空")
    private String enterCreditCode;

    @ApiModelProperty(value = "企业地址")
    @NotEmpty(message = "企业地址不可为空")
    private String enterAddress;

    @ApiModelProperty(value = "法人名称")
    @NotEmpty(message = "法人名称不可为空")
    private String juridicalName;

    @ApiModelProperty(value = "法人身份证号")
    @NotEmpty(message = "法人身份证号不可为空")
    private String juridicalIdentityCard;

    @ApiModelProperty(value = "法人手机号码")
    @NotEmpty(message = "法人手机号码不可为空")
    private String juridicalPhone;

    @ApiModelProperty(value = "省份")
    private String province;

    @ApiModelProperty(value = "城市")
    private String city;

}
